function makeRunData_pairAdoptions(runId)

addpath('../general_funcs');

%%% Read config for run
config = getConfig_pairAdoptions(runId);
runDataFile = config.runDataFile;

if config.modelId == 3
	makeRunData_pairAdoptions_ctsTime(runId);
	return;
end

ctsTimeRunDataFile = sprintf('%s/runData.mat', config.ctsTimeRunFolder);
load(ctsTimeRunDataFile);
data = aggregateCtsTimeData_pairAdoptions(data);

% Save to output file
save(runDataFile, 'data', '-v7.3');

end